package com.legal.service.user;

/**
 * 验证码接口
 */

public interface CaptchaService {
    //生成验证码
    String getCaptcha(String phoneNumber);
    //验证码校验
    boolean validateCaptcha(String key, String inputCode);
    //删除验证码
    void deleteCaptcha(String phoneNumber);
}
